---
title: Setting consent
description: Learn how to manage a user's consent 
lastModified: 2025-08-20
availableIn:
  - framework: 'javascript'
    url: '/docs/frameworks/javascript/store/setting-consent'
    title: 'JavaScript'
  - framework: 'next'
    url: '/docs/frameworks/next/hooks/use-consent-manager/setting-consent'
    title: 'Next.js'
  - framework: 'react'
    url: '/docs/frameworks/react/hooks/use-consent-manager/setting-consent'
    title: 'React'
---

<import>../../../javascript/shared/store/setting-consent.mdx</import>
